package Affichage;

/***********************************************************************
 * Module:  Supprimer.java
 * Author:  Loick
 * Purpose: Defines the Class Supprimer
 ***********************************************************************/

import java.util.*;
import javax.swing.JTextField;
import Metier.*;

/** @pdOid d9362f8c-68f7-4967-a73e-3220fb49d48a */
public class Supprimer {
   /** @pdOid b1d75443-ce21-4085-8489-f7f4cab2ccfd */
   private JTextField Libelle;
   
   /** @pdRoleInfo migr=no name=Dialogue assc=association11 coll=java.util.Collection impl=java.util.HashSet mult=0..* */
   public java.util.Collection<Dialogue> dialogue;
   
   /** @pdOid 1fc0cb54-f94a-49cd-a8ce-7b97c6966284 */
   public void supprimerElementLibelle() {
      // TODO: implement
   }
   
   /** @pdOid ee10026d-3b27-4d29-b3b0-553639781c6a */
   public void supprimerElementID() {
      // TODO: implement
   }
   
   
   /** @pdGenerated default getter */
   public java.util.Collection<Dialogue> getDialogue() {
      if (dialogue == null)
         dialogue = new java.util.HashSet<Dialogue>();
      return dialogue;
   }
   
   /** @pdGenerated default iterator getter */
   public java.util.Iterator getIteratorDialogue() {
      if (dialogue == null)
         dialogue = new java.util.HashSet<Dialogue>();
      return dialogue.iterator();
   }
   
   /** @pdGenerated default setter
     * @param newDialogue */
   public void setDialogue(java.util.Collection<Dialogue> newDialogue) {
      removeAllDialogue();
      for (java.util.Iterator iter = newDialogue.iterator(); iter.hasNext();)
         addDialogue((Dialogue)iter.next());
   }
   
   /** @pdGenerated default add
     * @param newDialogue */
   public void addDialogue(Dialogue newDialogue) {
      if (newDialogue == null)
         return;
      if (this.dialogue == null)
         this.dialogue = new java.util.HashSet<Dialogue>();
      if (!this.dialogue.contains(newDialogue))
         this.dialogue.add(newDialogue);
   }
   
   /** @pdGenerated default remove
     * @param oldDialogue */
   public void removeDialogue(Dialogue oldDialogue) {
      if (oldDialogue == null)
         return;
      if (this.dialogue != null)
         if (this.dialogue.contains(oldDialogue))
            this.dialogue.remove(oldDialogue);
   }
   
   /** @pdGenerated default removeAll */
   public void removeAllDialogue() {
      if (dialogue != null)
         dialogue.clear();
   }
}
